package cn.edu.scau.cmi.zhaotingjie.chapter05;

public class Remind {
	double above,bottom,height;
	Remind(double a,double b,double c){
		above=a;
		bottom=b;
		height=c;
	}
	double getArea() {
		return (above + bottom)*height/2;
	}
}
